package com.jsoft.jsofted.sys.service;

import com.jsoft.jsofted.sys.entity.FileEntity;
import com.jsoft.jsofted.sys.vo.UploadFileBean;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface FileStorageService {

    UploadFileBean upload(MultipartFile file) throws Exception;

    void download(FileEntity fileEntity, HttpServletResponse response) throws Exception;

}
